<?php
require_once 'Monde.php';

class Joueur extends Monde{
	
	private $id;
	private $idmonde;
	private $nom;
	private $prenom;
	private $mail;
	private $login;
	private $password;
	private $niveau;
	
	public function getId() {
		return $this->id;
	}
	
	public function setId($id) {
		$this->id = $id;
		return $this;
	}
	
	public function getNom() {
		return $this->nom;
	}
	
	public function setNom($nom) {
		$this->nom = $nom;
		return $this;
	}
	
	public function getPrenom() {
		return $this->prenom;
	}
	
	public function setPrenom($prenom) {
		$this->prenom = $prenom;
		return $this;
	}
	
	public function getMail() {
		return $this->mail;
	}
	
	public function setMail($mail) {
		$this->mail = $mail;
		return $this;
	}
	
	public function getLogin() {
		return $this->login;
	}
	
	public function setLogin($login) {
		$this->login = $login;
		return $this;
	}
	
	public function getPassword() {
		return $this->password;
	}
	
	public function setPassword($password) {
		$this->password = $password;
		return $this;
	}
	
	public function getNiveau() {
		return $this->niveau;
	}
	
	public function setNiveau($niveau) {
		$this->niveau = $niveau;
		return $this;
	}
	
	public function __toString(){
		$z = parent::__toString();
		return $z." => ". $this->nom ." - ".$this->prenom; 
	}
	
	
	
}

